package mastercard.assets.jpa;

import java.io.Serializable;
import javax.persistence.*;

@Entity
@Table(name="tbl_domestic")
public class TblDomestic implements Serializable {
    private static final long serialVersionUID = 1L;
    private int cveDomestic;
    private TblCuenta tblCuentas ;
    private TblProducto tblProductos ;
    private java.math.BigDecimal domesticBps ;
    private java.math.BigDecimal percentDomestic ;
    private java.math.BigDecimal intlBps ;
    private java.math.BigDecimal cardBps ;
    private byte status ;
    
    public TblDomestic() {
    }
    
    @Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="cve_domestic", unique=true, nullable=false)
	public int getCveDomestic() {
		return this.cveDomestic;
	}

	public void setCveDomestic(int cveDomestic) {
		this.cveDomestic = cveDomestic;
	}
    
    // bi-directional many-to-one association to TblCeunta
        @ManyToOne
        @JoinColumn(name="cve_producto", nullable=false)
        public TblProducto getTblProducto() {
            return this.tblProductos;
        }
        
        public void setTblProducto(TblProducto tblProductos) {
            this.tblProductos = tblProductos;
        }
    
    // bi-directional many-to-one association to TblCeunta
        @ManyToOne
        @JoinColumn(name="cve_cuenta", nullable=false)
        public TblCuenta getTblCuenta() {
            return this.tblCuentas;
        }
        
        public void setTblCuenta(TblCuenta tblCuentas) {
            this.tblCuentas = tblCuentas;
        }
    
    @Column(name="domestic_bps", nullable=false)
	public java.math.BigDecimal getDomesticBps() {
		return this.domesticBps;
	}

	public void setDomesticBps(java.math.BigDecimal domesticBps) {
		this.domesticBps = domesticBps;
	}
    
    @Column(name="percent_domestic", nullable=false)
	public java.math.BigDecimal getPercentDomestic() {
		return this.percentDomestic;
	}

	public void setPercentDomestic(java.math.BigDecimal percentDomestic) {
		this.percentDomestic = percentDomestic;
	}
    
    @Column(name="status", nullable=false)
	public byte getStatus() {
		return this.status;
	}

	public void setStatus(byte status) {
		this.status = status;
	}
        
    @Column(name="intl_bps", nullable=false)
	public java.math.BigDecimal getIntlBps() {
		return this.intlBps;
	}

	public void setIntlBps(java.math.BigDecimal intlBps) {
		this.intlBps = intlBps;
	}
        
    @Column(name="card_bps", nullable=false)
	public java.math.BigDecimal getCardBps() {
		return this.cardBps;
	}

	public void setCardBps(java.math.BigDecimal cardBps) {
		this.cardBps = cardBps;
	}
}
